package com.fh.practice.service;

import com.fh.practice.entity.Area;
import com.fh.practice.entity.User;
import com.fh.practice.entity.UserVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * 描述:
 * Author:袁亚强
 * Date:2022/1/2413:51
 */
public interface UserService {
    int addUser(User user);
    User queryByName(String name);

    List<Map<String, Object>> queryAllArea();

    Map login(String name, String password);

    Integer queryPasswordById(User user);

    void updatePassword(User user);

    Object queryUserAllData(UserVo userVo);

    void updateUserById(User user);
}
